package com.example.demouser.internal;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther Created by l.wang on 2019/2/27.
 */
@RestController
public class RibbonUserController {

    @GetMapping("/getUser/{id}")
    public String getUser(@PathVariable("id") String id){
//        return "李四 " +id;
        return "张三 " +id;
    }
}
